/*
 * s_sys_init.c
 *
 *  Created on: Nov 19, 2019
 *      Author: hemingway
 */
#include "s_sys_init.h"

#include "h_cc2640r2f_uart.h"
#include "s_sc_uart.h"
#include "s_opendoor_ctl.h"

#include <stdio.h>

signed char S_Sys_Init_In_Main(void)
{
    S_SC_UART_Init();

    printf("S_SC_UART_Init finished\r\n");

//    H_CC2640R2F_UART_Init();

    return 0;
}

signed char S_Sys_Init_Before_BLE(void)
{
    H_CC2640R2F_UART_Init();
    S_OpenDoor_Data_Init();

    H_CC2640R2F_UART_RxEnable();

    return 0;
}
